<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>Cellarium - <%= controller.controller_name.capitalize %> - <%= controller.action_name.capitalize %></title>
  <%= stylesheet_link_tag 'style' %>
</head>
<body>

<div>
<div class="header_left"><%= link_to 'Cellarium', '/', :class => "title_link" %></div>
<% if controller.session['employee'] %>
  <div class="header_right">Logged in as <span class="bold"><%= controller.session['employee'] %></span> <%= link_to 'Logout', :controller => "security", :action => "logout" %></div>
<% end %>
</div>

<div style="clear:both;"></div>

<p style="color: green"><%= flash[:notice] %></p>

<%= yield %>

</body>
</html>
